<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="java.net.URLDecoder"%>
<!DOCTYPE html>
<html lang="en">
<%
 String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getServletContext().getContextPath()+"/";
%>
<head>
    <base href="<%=path%>">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>后台管理登录界面</title>
    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="static/js/login.js"></script>
    <script type="text/javascript">
     $(function(){
	 var msg = "${msg}";
	 if (mg=="请先登录！") {
		alert("请先登录！");
	  }
    })
</script>
    <style>
      body{
          background-image:url(static/img/bg.jpg);
      }
      div{
          width: 500px;
          height: 300px;
          background-color: white;
          border-radius: 6px;
          margin: 300px auto;

      }
      input{
            width: 65%;
            height: 40px;
            font-size: 17px;
            border: 1px solid green;
            border-radius: 5px;
            margin: 10px;
            margin-left: 90px;
            color: gray;
        }
        img{
            width: 300px;
            margin-left: 90px;
            margin-top: 10px;
        }
        #login{
            background-color: rgb(98, 197, 98);
            color: white;
        }
    </style>
</head>
<body>
    <div>
        <img src="static/img/zy.png" alt="图片加载失败">
        <form action="admin/admin_index.do" method="post">
            <input type="text" name="login_name" id="" placeholder="请输入用户名"/><br>
            <input type="password" name="login_password" id="" placeholder="请输入密码"/><br>
            <input type="submit" value="登录" id="login"/>
        </form>
    </div>
</body>
</html>